package main.java.person.fjsp.common.entity;

import java.util.ArrayList;

public class Machine {

    /**
     * 机器编号
     */
    private int number;
    /**
     * 加工的工序列表
     */
    private ArrayList<Operation> operations;
    /**
     * 完工时间
     */
    private int completeTime;

    public Machine(int number, ArrayList<Operation> operations) {
        this.number = number;
        this.operations = operations;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public ArrayList<Operation> getOperations() {
        return operations;
    }

    public void setOperations(ArrayList<Operation> operations) {
        this.operations = operations;
    }

    public int getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(int completeTime) {
        this.completeTime = completeTime;
    }
}
